package edu.mis.modules.type;

import com.jfinal.core.Controller;

public class TypeController extends Controller{
	static TypeService service=new TypeService();
	public void index() {
		render("type.html");
	}
	
	public void list(){
		setAttr("data", service.findAllType());
		renderJson();  
	}
}
